﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="PureStretch.Web.Templates.Contact._default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="LcolPH" runat="server">
    <acms:HtmlContentControlDisplay ControlName="LcolBlueCopy" CssClass="lcolBlueCopy" ID="LcolBlueCopy" runat="server" />
    <acms:HtmlContentControlDisplay ControlName="LcolGreyCopy" CssClass="lcolGreyCopy"  ID="LcolGreyCopy" runat="server" />
    <acms:ImageContentControlDisplay ID="ImageContentControlDisplay1" ControlName="LcolImage" runat="server" />
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MainColPH" runat="server">
    <asp:Panel ID="pnlCreateMsg" Visible="true" runat="server">
        <acms:HtmlContentControlDisplay ID="HtmlContentControlDisplay1" ControlName="ArticleText" runat="server" />
            <div>
                <asp:label ID="Label1" CssClass="formLabel" AssociatedControlID="txtName" Text="Your Name:" runat="server"/>
                <asp:Label ID="Label5" CssClass="formRequired" Text="*" runat="server" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ErrorMessage="!Required" ControlToValidate="txtName" Display="Dynamic" runat="server" />
                <span class="formInput">
                    <asp:TextBox ID="txtName" Width="100%" runat="server" />
                </span>
            </div>
            <div>
                <asp:label ID="Label2" CssClass="formLabel" AssociatedControlID="txtEmail" Text="Your Email:" runat="server"/>
                
                <asp:Label ID="Label3" CssClass="formRequired" Text="*" runat="server" />
                
                <asp:RegularExpressionValidator ID="valEmailFormat" ControlToValidate="txtEmail"  CssClass="formError" ErrorMessage="Invalid Email" Display="Dynamic" runat="server" ValidationExpression="^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" CssClass="formError" ControlToValidate="txtEmail" Display="Dynamic" ErrorMessage="Please Check" />
                
                <span class="formInput">
                    <asp:TextBox ID="txtEmail" Width="100%" runat="server" />
                </span>
            </div>
            <div>
                <asp:label ID="Label4" CssClass="formLabel" AssociatedControlID="txtMessage" Text="Your Message:" runat="server"/>
                <asp:Label ID="Label6" CssClass="formRequired" Text="*" runat="server" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ErrorMessage="!Required" ControlToValidate="txtMessage" Display="Dynamic" runat="server" />
                <span class="formInput">
                    <asp:TextBox TextMode="MultiLine" Rows="20" ID="txtMessage" Width="100%" runat="server" />
                </span>
            </div>
            <div>
                
                <span class="formInput">
                      <asp:Button ID="btnSubmit" Text="Send" runat="server" />
                </span>
            </div>
    </asp:Panel>
    
    <asp:Panel ID="pnlMessageSent" Visible="false" runat="server">
        <p>Your message has been sent!</p>
    </asp:Panel>

    <asp:Panel ID="pnlMessageError" Visible="false" runat="server">
        <p>Your message has not been sent.</p>
    </asp:Panel>


</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="RcolPH" runat="server">
    <acms:ImageContentControlDisplay ControlName="RcolImage" runat="server" />
    <acms:HtmlContentControlDisplay ID="HtmlContentControlDisplay2" ControlName="RcolText" runat="server" />
</asp:Content>
